<template>
    <div class="books-of" style="margin-top: 10px">
      <div class="week">
        <div class="author-title">Author of the week</div>
        <div class="author">
          <i class="el-icon-s-home"></i>
          <router-link to="/hall" class="author-name">大厅</router-link>
        </div>
        <div class="author">
          <i class="el-icon-chat-dot-square"></i>
          <router-link to="/loveStory" class="author-name">恋爱故事</router-link>
        </div>
        <div class="author">
          <i class="el-icon-orange"></i>
          <router-link to="/memory" class="author-name">记忆</router-link>
        </div>
        <div class="author">
          <i class="el-icon-edit-outline"></i>
          <router-link to="/letter" class="author-name">信件</router-link>
        </div>
        <div class="author">
          <i class="el-icon-ice-tea"></i>
          <router-link to="/food" class="author-name">食物</router-link>
        </div>
        <div class="author">
          <i class="el-icon-map-location"></i>
          <router-link to="/location" class="author-name">地点</router-link>
        </div>
        <div class="author">
          <i class="el-icon-circle-plus-outline"></i>
          <router-link to="/posted" class="author-name">发帖</router-link>
        </div>
      </div>
      <div class="overlay"></div>
    </div>

  </template>

<script>

export default {
  name: "HomeMainLeftSide",
  data() {
    return {
      isCollapse: true
    };
  },
  methods: {
    handleOpen(key, keyPath) {
      console.log(key, keyPath);
    },
    handleClose(key, keyPath) {
      console.log(key, keyPath);
    }
  }
}
</script>

<style scoped>
i{
  margin-top: 20px;
  margin-right: 20px;
  font-size: 30px;
}
.author-name{
  color: black;
  text-decoration: none;
  font-family: Arial;
  font-size: 18px;
  margin-top: 20px;
}
.author{
  height: 50px;
  margin: 0px;
}

</style>
